package com.hdoit.ares.logical.insu.dao;

import java.util.List;

import com.hdoit.ares.logical.insu.model.Insurance;
import com.hdoit.ares.logical.viewmodel.insu.FindInsu;
import com.hdoit.ares.logical.viewmodel.insu.InsuranceSearch;
import com.tennetcn.common.dao.base.ISuperDao;
import com.tennetcn.common.message.PagerModel;
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年12月09日 19:10:03
 * @comment
 */
public interface IInsuranceDao extends ISuperDao<Insurance>{
	
	public int queryInsuranceCount(InsuranceSearch insuranceSearch);
	
	public List<Insurance> queryInsuranceList(InsuranceSearch insuranceSearch,PagerModel pagerModel);
	
	//多个条件进行筛选 保险 findInsu是筛选条件的实体类
	public List<Insurance> queryListByFindInsu(FindInsu findInsu);
	
	//下架所有选择的产品
	public int updateUndercarriage(InsuranceSearch insuranceSearch);
	
	//上架最近修改的产品
	public int updateShelf(InsuranceSearch insuranceSearch);
}
